package com.molichuxing.services.infrastructure.service;


import com.molichuxing.framework.dto.Paged;
import com.molichuxing.services.infrastructure.dto.request.create.MsgPushCreateDto;
import com.molichuxing.services.infrastructure.dto.response.MsgPushDto;
import com.molichuxing.services.property.MsgPushStatusEnum;

import java.time.LocalDateTime;

public interface MsgPushService {

	/***
	 * 根据推送消息id 获取消息详情
	 * @param id
	 * @return
	 */
	MsgPushDto getMsgPushById(Integer id);

	/***
	 *推送消息列表
	 * @param content
	 * @param sendOpName
	 * @param msgPushStatusEnum   枚举类状态  0消息未发布   1消息已发布
	 * @return
	 */
	Paged<MsgPushDto>  getMsgPushListPage(String content, String sendOpName,
																				MsgPushStatusEnum msgPushStatusEnum, LocalDateTime startSendTime , LocalDateTime endSendTime ,
																				Integer pageNum, Integer pageSize);


	int createMsgPush(MsgPushCreateDto insertDto);


}
